package com.glory.dgcpcpda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: AdrefListEntity
 * Author: XJH
 * Date: 2020/9/4 10:29
 * Description:
 * History:
 */
public class AdrefListEntity implements Serializable {
    private List<Adref> ADREFLIST;
    private String EQPID;
    private String ALARMCODE;
    private String ALARMMSG;
    private String ALARMTIME;

    public String getEQPID() {
        return EQPID == null ? "" : EQPID;
    }

    public void setEQPID(String EQPID) {
        this.EQPID = EQPID;
    }

    public String getALARMCODE() {
        return ALARMCODE == null ? "" : ALARMCODE;
    }

    public void setALARMCODE(String ALARMCODE) {
        this.ALARMCODE = ALARMCODE;
    }

    public String getALARMMSG() {
        return ALARMMSG == null ? "" : ALARMMSG;
    }

    public void setALARMMSG(String ALARMMSG) {
        this.ALARMMSG = ALARMMSG;
    }

    public String getALARMTIME() {
        return ALARMTIME == null ? "" : ALARMTIME;
    }

    public void setALARMTIME(String ALARMTIME) {
        this.ALARMTIME = ALARMTIME;
    }

    public List<Adref> getADREFLIST() {
        if (ADREFLIST == null) {
            return new ArrayList<>();
        }
        return ADREFLIST;
    }

    public void setADREFLIST(List<Adref> ADREFLIST) {
        this.ADREFLIST = ADREFLIST;
    }

    public static class Adref implements Serializable{
        private int SEQNO;
        private String TEXT;
        private String KEY;
        private String DESCRIPTION;

        public int getSEQNO() {
            return SEQNO;
        }

        public void setSEQNO(int SEQNO) {
            this.SEQNO = SEQNO;
        }

        public String getTEXT() {
            return TEXT == null ? "" : TEXT;
        }

        public void setTEXT(String TEXT) {
            this.TEXT = TEXT;
        }

        public String getKEY() {
            return KEY == null ? "" : KEY;
        }

        public void setKEY(String KEY) {
            this.KEY = KEY;
        }

        public String getDESCRIPTION() {
            return DESCRIPTION == null ? "" : DESCRIPTION;
        }

        public void setDESCRIPTION(String DESCRIPTION) {
            this.DESCRIPTION = DESCRIPTION;
        }
    }
}
